#pragma once

#include <QWidget>
#include <memory>
#include <lv_api.h>
using namespace lv::sdk;
using namespace lv::lvmat;

class BaseWidget : public QWidget
{
public:
    BaseWidget(QWidget * parent = nullptr);
    ~BaseWidget();

    virtual void __setData(std::shared_ptr<LvMat> & src, int min, int max) = 0;

    virtual void __render() = 0;

    virtual void __saveData(const std::string & filePath) = 0;

};

